<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">报表统计</h1>
</div>
<div class="wrapper-md" ng-controller="ReportCtrl">
    <div class="row">
        <div class="col-md-3">
            <ul class="class="list-group"">
                <li class="list-group-item" ng-repeat="r in reportList" ng-click="select(r)" ng-class="{'active':isActive(r.Id)}">
                    {{::r.Name}}
                </li>
            </ul>
        </div>
        <div class="col-md-9">
            <form class="form-inline" ng-submit="submit()">
                <label class="control-label  col-md-1 text-right">统计日期</label>
                <div class="col-md-2">
                    <input type="text" class="form-control" readonly="readonly" style="cursor: pointer" datepicker-popup="yyyy-MM-dd" ng-model="start"
                           is-open="isStartOpen" required close-text="关闭" clear-text="清除" current-text="今天" ng-mousedown="openCalendar($event,'start')"/>
                </div>
                <label class="col-md-1 control-label text-center">至</label>
                <div class="col-md-2">
                    <input type="text" class="form-control" readonly="readonly" style="cursor: pointer" datepicker-popup="yyyy-MM-dd" ng-model="end"
                            is-open="isEndOpen" required close-text="关闭" clear-text="清除" current-text="今天" ng-mousedown="openCalendar($event,'end')" />
                </div>
                <button type="submit" class="btn btn-success" style="margin-left:20px;">统 计</button>
            </form>
                    
            <iframe ng-src="{{downloadUrl}}" style="display:none" id='report-download-iframe'></iframe>
        </div>
    </div>
</div>